package com.t.bricks.bussiness.db.entity.flowwork.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 流程实例'FlowWork'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 * @author HuangXinBian
 * @DateTime 2022年01月26日 17:03:37
 */
@ApiModel("流程实例FlowWork")
@DataInfo(sDbName="BricksFlowEngine", sTableName="FlowWork")
public class FlowWorkBase implements Serializable {

	private static final long serialVersionUID = 1L;// 使用rmi时需修改

	/**
	 * 记录编号
	 */
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="uId", sComment="记录编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="记录编号", example="")
	//[end]
	protected String uId;

	/**
	 * 所用流程标识
	 */
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="sDefineSign", sComment="所用流程标识", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=20, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="所用流程标识", example="")
	//[end]
	protected String sDefineSign;

	/**
	 * 流程描述
	 */
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="sDescription", sComment="流程描述", isDbField=true, sDbFileType="longtext",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=100, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="流程描述", example="")
	//[end]
	protected String sDescription;

	/**
	 * 成功时执行
	 */
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="sSuccessApi", sComment="成功时执行", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="成功时执行", example="")
	//[end]
	protected String sSuccessApi;

	/**
	 * 发起者编号
	 */
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="sCreatorId", sComment="发起者编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="发起者编号", example="")
	//[end]
	protected String sCreatorId;

	/**
	 * 发起者名称
	 */
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="sCreatorName", sComment="发起者名称", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="发起者名称", example="")
	//[end]
	protected String sCreatorName;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="sMemo", sComment="备注", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建者
	 */
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="sCreator", sComment="创建者", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=7 )
	@ApiModelProperty(value="创建者", example="")
	//[end]
	protected String sCreator;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="dCreateDate", sComment="创建时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=8 )
	@ApiModelProperty(value="创建时间", example="")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人
	 */
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="sModifieder", sComment="修改人", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=9 )
	@ApiModelProperty(value="修改人", example="")
	//[end]
	protected String sModifieder;

	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="dModifiedDate", sComment="修改时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=10 )
	@ApiModelProperty(value="修改时间", example="")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态(枚举,1:进行中;2:失败;3:作废;4:成功)
	 */
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="iState", sComment="状态(枚举,1:进行中;2:失败;3:作废;4:成功)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=11 )
	@ApiModelProperty(value="状态(枚举,1:进行中;2:失败;3:作废;4:成功)", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=12 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksFlowEngine", sTableName="FlowWork",
		sName="iVersion", sComment="版本号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=13 )
	@ApiModelProperty(value="版本号", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 记录编号
	 * @return String
	 */
	public String getuId() {
		return uId;
	}

	/**
	 * 设置记录编号
	 * @param uId
	 */
	public void setuId(String uId) {
		this.uId = uId;
	}

	/**
	 * 取 所用流程标识
	 * @return String
	 */
	public String getsDefineSign() {
		return sDefineSign;
	}

	/**
	 * 设置所用流程标识
	 * @param sDefineSign
	 */
	public void setsDefineSign(String sDefineSign) {
		this.sDefineSign = sDefineSign;
	}

	/**
	 * 取 流程描述
	 * @return String
	 */
	public String getsDescription() {
		return sDescription;
	}

	/**
	 * 设置流程描述
	 * @param sDescription
	 */
	public void setsDescription(String sDescription) {
		this.sDescription = sDescription;
	}

	/**
	 * 取 成功时执行
	 * @return String
	 */
	public String getsSuccessApi() {
		return sSuccessApi;
	}

	/**
	 * 设置成功时执行
	 * @param sSuccessApi
	 */
	public void setsSuccessApi(String sSuccessApi) {
		this.sSuccessApi = sSuccessApi;
	}

	/**
	 * 取 发起者编号
	 * @return String
	 */
	public String getsCreatorId() {
		return sCreatorId;
	}

	/**
	 * 设置发起者编号
	 * @param sCreatorId
	 */
	public void setsCreatorId(String sCreatorId) {
		this.sCreatorId = sCreatorId;
	}

	/**
	 * 取 发起者名称
	 * @return String
	 */
	public String getsCreatorName() {
		return sCreatorName;
	}

	/**
	 * 设置发起者名称
	 * @param sCreatorName
	 */
	public void setsCreatorName(String sCreatorName) {
		this.sCreatorName = sCreatorName;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建者
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建者
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建时间
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建时间
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改时间
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改时间
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态(枚举,1:进行中;2:失败;3:作废;4:成功)
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态(枚举,1:进行中;2:失败;3:作废;4:成功)
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本号
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本号
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
